package com.adong.test.cascade2;

import java.util.HashSet;
import java.util.Set;

/**
 * @author adong
 */
public class Customer {
    private Integer id;
    private String cName;
    private Set<Orders> ordersSet = new HashSet<>();

    public Set<Orders> getOrdersSet() {
        return ordersSet;
    }

    public void setOrdersSet(Set<Orders> ordersSet) {
        this.ordersSet = ordersSet;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", cName='" + cName + '\'' +
                ", ordersSet=" + ordersSet +
                '}';
    }
}
